package com.lucfzy.rabbitmq;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * rabbitmq config class
 *
 * @author lucfzy
 * @ClassName RabbitmqConfig
 * @description rabbitmq config class
 * @created 2021-07-25 08:27
 **/
@Configuration
public class RabbitmqConfig {

    @Bean
    public Queue applog() {
        return new Queue(MessageQueue.APPLOG, true);
    }

}
